<template>
    <view class="plate">
        <titleBox title="适用店铺"></titleBox>
        <view class="StoreList">
            <image :src="headImg" mode="aspectFill" class="Store_img"></image>
            <view class="flex-1 d-flex f-column m-left24">
                <text class="ellipsis size32 black">店铺名称店铺名称店铺名称</text>
                <view class="d-flex a-center m-top10">
                    <text class="h6 color">评分：5.0</text>
                    <text class="h6 color_33 m-left24">销量：999</text>
                </view>
                <view class="row a-center m-top10">
                    <text class="flex-1 ellipsis color_33 size26">地址地址地址地址地址址</text>
                    <view class="d-flex a-center">
                        <view class="iconfont icon-a-zu3947 color h6"></view>
                        <text class="color h6">3.33KM</text>
                    </view>
                </view>
            </view>
        </view>
        <view class="StoreList">
            <image :src="headImg" mode="aspectFill" class="Store_img"></image>
            <view class="flex-1 d-flex f-column m-left24">
                <text class="ellipsis size32 black">店铺名称店铺名称店铺名称</text>
                <view class="d-flex a-center m-top10">
                    <text class="h6 color">评分：5.0</text>
                    <text class="h6 color_33 m-left24">销量：999</text>
                </view>
                <view class="row a-center m-top10">
                    <text class="flex-1 ellipsis color_33 size26">地址地址地址地址地址址</text>
                    <view class="d-flex a-center">
                        <view class="iconfont icon-a-zu3947 color h6"></view>
                        <text class="color h6">3.33KM</text>
                    </view>
                </view>
            </view>
        </view>

        <view class="row j-centert color size28 p-top24">查看全部</view>
    </view>
</template>

<script>
    import titleBox from '@/subCard/components/titleBox.vue'
    export default {
        components: {
            titleBox
        },
        data() {
            return {
                headImg: 'https://msraimgcdn.mogoie.com/6099/1709797684310.JPG'
            }
        },
        methods: {}
    }
</script>

<style lang="scss" scoped>
    .plate {
        width: 690rpx;
        margin: 0 auto;
        background-color: #ffffff;
        padding: 20rpx;
        border-radius: 10rpx;
        margin-top: 24rpx;
    }
    .titleBox {
        width: 100%;
        padding-left: 20rpx;
        color: var(--color);
        font-size: 30rpx;
        position: relative;
    }
    .titleBox::before {
        content: '';
        width: 4rpx;
        height: 30rpx;
        background-color: var(--color);
        position: absolute;
        left: 0;
        top: 50%;
        transform: translate(0, -50%);
    }
    .StoreList {
        width: 100%;
        padding: 24rpx 20rpx;
        margin-top: 20rpx;
        background-color: #f2f2f2;
        display: flex;
        align-items: center;
        border-radius: 10rpx;
        .Store_img {
            width: 100rpx;
            height: 100rpx;
            background-color: #ffffff;
            border-radius: 50%;
        }
    }
</style>
